CRMMarqueeBlock object

Use the CRMMarqueeBlock object to add scrolling text to a page. For example, a news ticker. CRMMarqueeBlock is a child of CRMBlock object.

The Marquee block reads from the Custom Captions table for news headlines and story links, and builds a scrolling display. You can control the direction of the scrolling, the positioning, the speed, and the style sheet used. The object provides a dismiss button which is overwritten when the news changes.

The news headlines and news stories must be created using CRM translation handling. You can configure translation handling in the <My Profile> | Administration | Customization | Translations area of Sage CRM.

The caption family for news headlines is news_headline, and the link for a news story has a caption family of news_story. News stories must have the same caption code as the associated headline.

You call the Marquee block from an ASP page as follows:

var Marquee;
Marq = CRM.GetBlock('marquee');
Marq.VerticalMinimum = 150;
Marq.VerticalMaximum = 150;
Marq.HorizontalMinimum = 70;
Marq.HorizontalMinimum = 70;
CRM.AddContent(Marq.Execute());
Response.Write(CRM.GetPage());